﻿<%@ Page Language="C#" MasterPageFile="~/Users.Master" AutoEventWireup="true" CodeBehind="AccountDetails.aspx.cs" Inherits="sdamarketing.Account.AccountDetails" Title="" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>
<asp:Content ID="Content2" ContentPlaceHolderID="title1PlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="text1PlaceHolder" runat="server">
    <table style="width: 100%;">
    <tr>
            <td style="width: 143px" align="right" >
                <asp:Label ID="lblName" runat="server" meta:resourcekey="Label3Resource1" 
                    Text="Име"></asp:Label>
            </td>
            <td style="width: 321px">
                <asp:TextBox ID="FirstNameTextBox" runat="server" MaxLength="50" 
                    meta:resourcekey="FirstNameTextBoxResource1" ValidationGroup="RegisterGroup" 
                    Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="FirstNameTextBox" ErrorMessage="Ве молиме внесете име" 
                    meta:resourcekey="RequiredFieldValidator1Resource1" 
                    ValidationGroup="RegisterGroup">*</asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    <tr>
            <td style="height: 9px; width: 143px" align="right">
                <asp:Label ID="lblLastname" runat="server" meta:resourcekey="Label4Resource1" 
                    Text="Презиме"></asp:Label>
            </td>
            <td style="height: 9px; width: 321px">
                <asp:TextBox ID="LastNameTextBox" runat="server" MaxLength="50" 
                    meta:resourcekey="LastNameTextBoxResource1" ValidationGroup="RegisterGroup" 
                    Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="LastNameTextBox" ErrorMessage="Ве молиме внесете презиме" 
                    meta:resourcekey="RequiredFieldValidator2Resource1" 
                    ValidationGroup="RegisterGroup">*</asp:RequiredFieldValidator>
            </td>
            <td style="height: 9px">
                &nbsp;</td>
        </tr>
    <tr>
            <td style="height: 23px; width: 143px" align="right">
                <asp:Label ID="lblEmail" runat="server" meta:resourcekey="Label5Resource1" 
                    Text="E-пошта"></asp:Label>
            </td>
            <td style="height: 23px; width: 321px">
                <asp:TextBox ID="EMailTextBox" runat="server" MaxLength="50" 
                    meta:resourcekey="EMailTextBoxResource1" ValidationGroup="RegisterGroup" 
                    Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="EMailTextBox" ErrorMessage="Ве молиме внесете Е-пошта" 
                    meta:resourcekey="RequiredFieldValidator3Resource1" 
                    ValidationGroup="RegisterGroup">*</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="EMailTextBox" 
                    ErrorMessage="Ве молиме внесете Е-пошта во точен формат" 
                    meta:resourcekey="RegularExpressionValidator1Resource1" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    ValidationGroup="RegisterGroup">*</asp:RegularExpressionValidator>
            </td>
            <td style="height: 23px">
                &nbsp;</td>
        </tr>
    <tr>
            <td style="width: 143px" align="right">
                <asp:Label ID="lblUsername" runat="server" meta:resourcekey="Label6Resource1" 
                    Text="Корисничко Име"></asp:Label>
            </td>
            <td style="width: 321px">
                <asp:TextBox ID="UsernameTextBox" runat="server" MaxLength="50" 
                    meta:resourcekey="UsernameTextBoxResource1" ValidationGroup="RegisterGroup" 
                    Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="UsernameTextBox" 
                    ErrorMessage="Ве молиме внесете корисничко име" 
                    meta:resourcekey="RequiredFieldValidator4Resource1" 
                    ValidationGroup="RegisterGroup">*</asp:RequiredFieldValidator>
                <asp:Label ID="lblChange" runat="server" Text="не е дозволена промена" 
                    Font-Size="XX-Small" meta:resourcekey="lblChangeResource1"></asp:Label>
            </td>
            <td style="font-size: xx-small">
                &nbsp;</td>
        </tr>
    <tr>
            <td style="width: 143px" align="right">
                <asp:Label ID="lblPassword" runat="server" meta:resourcekey="Label7Resource1" 
                    Text="Лозинка"></asp:Label>
            </td>
            <td style="width: 321px">
                <asp:TextBox ID="PasswordTextBox" runat="server" MaxLength="50" 
                    meta:resourcekey="PasswordTextBoxResource1" TextMode="Password" 
                    ValidationGroup="RegisterGroup" Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="PasswordTextBox" ErrorMessage="Ве молиме внесете лозинка" 
                    meta:resourcekey="RequiredFieldValidator5Resource1" 
                    ValidationGroup="RegisterGroup">*</asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    <tr>
            <td style="width: 143px" align="right">
                <asp:Label ID="lblRePassword" runat="server" meta:resourcekey="Label8Resource1" 
                    Text="Повтори Лозинка"></asp:Label>
            </td>
            <td style="width: 321px">
                <asp:TextBox ID="PasswordConfTextBox" runat="server" MaxLength="50" 
                    meta:resourcekey="PasswordConfTextBoxResource1" TextMode="Password" 
                    ValidationGroup="RegisterGroup" Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="PasswordConfTextBox" 
                    ErrorMessage="Ве молиме потврдете ја лозинката" 
                    meta:resourcekey="RequiredFieldValidator6Resource1" 
                    ValidationGroup="RegisterGroup">*</asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="PasswordTextBox" ControlToValidate="PasswordConfTextBox" 
                    ErrorMessage="Внесените лозинки не се совпаѓаат" 
                    meta:resourcekey="CompareValidator1Resource1" ValidationGroup="RegisterGroup">*</asp:CompareValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    <tr>
            <td style="width: 143px" align="right">
                <asp:Label ID="lblQuestion" runat="server" Text="Сигурносно прашање" 
                    meta:resourcekey="lblQuestionResource1"></asp:Label>
            </td>
            <td style="width: 321px">
                <asp:TextBox ID="QuestionTextBox" runat="server" MaxLength="150" 
                    meta:resourcekey="PasswordConfTextBoxResource1" 
                    ValidationGroup="RegisterGroup" Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                    ControlToValidate="QuestionTextBox" 
                    ErrorMessage="Ве молиме внесете сигурносно прашање" 
                    ValidationGroup="RegisterGroup" 
                    meta:resourcekey="RequiredFieldValidator8Resource1">*</asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    <tr>
            <td style="width: 143px" align="right">
                <asp:Label ID="lblAnswer" runat="server" Text="Одговор" 
                    meta:resourcekey="lblAnswerResource1"></asp:Label>
            </td>
            <td style="width: 321px">
                <asp:TextBox ID="AnswerTextBox" runat="server" MaxLength="150" 
                    meta:resourcekey="PasswordConfTextBoxResource1" 
                    ValidationGroup="RegisterGroup" Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                    ControlToValidate="AnswerTextBox" 
                    ErrorMessage="Ве молиме внесете сигурносен одговор" 
                    ValidationGroup="RegisterGroup" 
                    meta:resourcekey="RequiredFieldValidator9Resource1">*</asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 170px; " __designer:mapid="b9">
                <asp:Label ID="lblRegion" runat="server" Text="Регион" 
                    meta:resourcekey="lblRegionResource1"></asp:Label>
            </td>
            <td style="width: 210px" __designer:mapid="bb">
                <asp:DropDownList ID="DropDownListRegion" runat="server" Width="168px" 
                    meta:resourcekey="DropDownListRegionResource1">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorRegion" runat="server" 
                    ControlToValidate="DropDownListRegion" ErrorMessage="Ве молиме изберете регион" 
                    ValidationGroup="RegisterGroup" 
                    meta:resourcekey="RequiredFieldValidatorRegionResource1">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; " __designer:mapid="be">
                <asp:Label ID="lblLocality" runat="server" Text="Локација" 
                    meta:resourcekey="lblLocalityResource1"></asp:Label>
            </td>
            <td style="width: 210px" __designer:mapid="c0">
                <asp:DropDownList ID="DropDownListLocality" runat="server" Width="168px" 
                    meta:resourcekey="DropDownListLocalityResource1">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorLocality" runat="server" 
                    ControlToValidate="DropDownListLocality" 
                    ErrorMessage="Ве молиме одберете локација" ValidationGroup="RegisterGroup" 
                    meta:resourcekey="RequiredFieldValidatorLocalityResource1">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; " __designer:mapid="c3">
                <asp:Label ID="Label13" runat="server" Text="Образование" 
                    meta:resourcekey="Label13Resource1"></asp:Label>
            </td>
            <td style="width: 210px" __designer:mapid="c5">
                <asp:DropDownList ID="DropDownListEducation" runat="server" Width="168px" 
                    meta:resourcekey="DropDownListEducationResource1">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="ValidatorEducation0" runat="server" 
                    ControlToValidate="DropDownListEducation" 
                    ErrorMessage="Ве молиме изберете образование" 
                    ValidationGroup="RegisterGroup" meta:resourcekey="ValidatorEducation0Resource1">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; " __designer:mapid="c8">
                <asp:Label ID="lblNationality" runat="server" Text="Националност" 
                    meta:resourcekey="lblNationalityResource1"></asp:Label>
            </td>
            <td style="width: 210px" __designer:mapid="ca">
                <asp:DropDownList ID="DropDownListNationality" runat="server" Width="168px" 
                    meta:resourcekey="DropDownListNationalityResource1">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="ValidatorNationality" runat="server" 
                    ControlToValidate="DropDownListNationality" 
                    ErrorMessage="Ве молиме изберете националност" 
                    ValidationGroup="RegisterGroup" 
                    meta:resourcekey="ValidatorNationalityResource1">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; " __designer:mapid="cd">
                <asp:Label ID="Label14" runat="server" Text="Пол" 
                    meta:resourcekey="Label14Resource1"></asp:Label>
            </td>
            <td style="width: 210px" __designer:mapid="cf">
                <asp:DropDownList ID="DropDownListSex" runat="server" Width="168px" 
                    meta:resourcekey="DropDownListSexResource1">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="ValidatorSex" runat="server" 
                    ControlToValidate="DropDownListSex" ErrorMessage="Ве молиме изберете пол" 
                    ValidationGroup="RegisterGroup" meta:resourcekey="ValidatorSexResource1">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; " __designer:mapid="d2">
                <asp:Label ID="Label15" runat="server" Text="Возраст" 
                    meta:resourcekey="Label15Resource1"></asp:Label>
            </td>
            <td style="width: 210px" __designer:mapid="d4">
                <asp:DropDownList ID="DropDownListAge" runat="server" Width="168px" 
                    meta:resourcekey="DropDownListAgeResource1">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="ValidatorAge" runat="server" 
                    ControlToValidate="DropDownListAge" ErrorMessage="Ве молиме изберете возраст" 
                    ValidationGroup="RegisterGroup" meta:resourcekey="ValidatorAgeResource1">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; " __designer:mapid="d7">
                <asp:Label ID="Label16" runat="server" Text="Социјална структура" 
                    meta:resourcekey="Label16Resource1"></asp:Label>
            </td>
            <td style="width: 210px" __designer:mapid="d9">
                <asp:DropDownList ID="DropDownListStructure" runat="server" Width="168px" 
                    meta:resourcekey="DropDownListStructureResource1">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="ValidatorStructure" runat="server" 
                    ControlToValidate="DropDownListStructure" 
                    ErrorMessage="Ве молиме изберете социјална структура" 
                    ValidationGroup="RegisterGroup" 
                    meta:resourcekey="ValidatorStructureResource1">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; " __designer:mapid="152">
                <asp:Label ID="lblIncome" runat="server" Text="Приходи" 
                    meta:resourcekey="lblIncomeResource1"></asp:Label>
            </td>
            <td style="width: 210px" __designer:mapid="154">
                <asp:DropDownList ID="DropDownListIncome" runat="server" Width="168px" 
                    meta:resourcekey="DropDownListIncomeResource1">
                </asp:DropDownList>
            </td>
        </tr>
    <tr>
            <td align="right" class="style1">
                <asp:Label ID="Label17" runat="server" Text="Промени слика:" 
                    meta:resourcekey="Label17Resource1"></asp:Label>
            </td>
            <td class="style2">
                <asp:FileUpload ID="FileUpload1" runat="server" 
                    meta:resourcekey="FileUpload1Resource1" />
                <br />
                <asp:Label ID="Label18" runat="server" Text="(дозволена големина до 2MB)" 
                    meta:resourcekey="Label18Resource1"></asp:Label>
                <br />
                </td>
            <td>
                </td>
        </tr>
    <tr>
            <td style="width: 143px">
                &nbsp;</td>
            <td style="width: 321px">
                <asp:Button ID="saveButton" runat="server" onclick="saveButton_Click" 
                    Text="Зачувај" ValidationGroup="RegisterGroup" 
                    meta:resourcekey="saveButtonResource1" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
    <tr>
            <td colspan="2">
                <asp:Label ID="lblStatusUpload" runat="server" 
                    meta:resourcekey="lblStatusUploadResource1"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    <tr>
            <td colspan="3">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                    meta:resourcekey="ValidationSummary1Resource1" 
                    ValidationGroup="RegisterGroup" />
            </td>
        </tr>
    <tr>
            <td colspan="3">
                <asp:Label ID="lblMessage" runat="server" ForeColor="Red" 
                    meta:resourcekey="UserExsistLabelResource1"></asp:Label>
            </td>
        </tr>
</table>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="mainTitle2PlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="title2PlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="text2PlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content7" runat="server" contentplaceholderid="head">

    <style type="text/css">
        .style1
        {
            width: 143px;
        }
        .style2
        {
            width: 321px;
        }
    </style>

</asp:Content>

